Skip to content
Manage
Objects
Analyse
Utility

Time Pattern#

A time pattern that defines specific points in time.

Create a time pattern using months of the year, days in each month, hours in each day, and a specified number of time steps per hour.

Inputs

Name Nickname Description Type
Months M The months in the year, from 1 = January to 12 = December. Int32
Days D The days in each month, from 1 to 31. Int32
Hours H The hours of each day, from 0 to 23. Int32
Time Step T The number of time steps per hour. Int32

Outputs

Name Nickname Description Type
Time Pattern TP A time pattern that defines specific points in time. TimePattern

Create a time pattern using start and end time for a time span and an amount of time steps per hour. This constructor will only use the month, day and hour properties of the start and end times.

Inputs

Name Nickname Description Type
Start Time S The start of the time span that this time patterns should cover. DateTime
End Time E The end of the time span that this time patterns should cover. DateTime
Time Step T The number of time steps per hour. Int32

Outputs

Name Nickname Description Type
Time Pattern TP A time pattern that defines specific points in time. TimePattern

Create a time pattern from a list of date times and a time span specifying the amount of hours represented by each date time. Warning: This time pattern can produce faulty results in subsequent analyses if the time span isn't accurately specified.

Inputs

Name Nickname Description Type
Date Times D A list of date times to include in the time pattern. DateTime
Time Span T The amount of time in hours that each date time represents. This should be lower than 1 if each date time represents less than a full hour. All date times will represent the same amount of time. Double

Outputs

Name Nickname Description Type
Time Pattern TP A time pattern that defines specific points in time. TimePattern

Create a time pattern from a list of hours of the year (HOY) and a time span specifying the amount of hours represented by each hour of the year. Warning: This time pattern can produce faulty results in subsequent analyses if the time span isn't accurately specified.

Inputs

Name Nickname Description Type
HOY H A list of hours of the year (HOY) to include in the time pattern. Use decimals for sub hourly division. Double
Time Span T The amount of time in hours that each hour of the year represents. This should be lower than 1 if each hour of the year represents less than a full hour. All hours of the year will represent the same amount of time. Double

Outputs

Name Nickname Description Type
Time Pattern TP A time pattern that defines specific points in time. TimePattern

Create a time pattern by merging a number of time patterns. All time patterns have to have the same amount of time steps per hour.

Inputs

Name Nickname Description Type
Time Patterns T A list of time patterns to merge into a single time pattern. TimePattern

Outputs

Name Nickname Description Type
Time Pattern TP A time pattern that defines specific points in time. TimePattern

Create a time pattern that covers all 8760 hours of the year using the specified time step.

Inputs

Name Nickname Description Type
Time Step T The number of time steps per hour. Int32

Outputs

Name Nickname Description Type
Time Pattern TP A time pattern that defines specific points in time. TimePattern